projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26c484f
)
core: Improve error message if we hit an unreadable file
author
Colin Walters
<walters@verbum.org>
Wed, 2 May 2012 14:21:41 +0000
(10:21 -0400)
committer
Colin Walters
<walters@verbum.org>
Fri, 4 May 2012 20:14:47 +0000
(16:14 -0400)
src/libostree/ostree-repo.c
patch
|
blob
|
history
diff --git
a/src/libostree/ostree-repo.c
b/src/libostree/ostree-repo.c
index 447f53de67280e39b99852810de7bcf2b4ff6c01..948ef91289685a1f6190dfc6aebc685dac2859a1 100644
(file)
--- a/
src/libostree/ostree-repo.c
+++ b/
src/libostree/ostree-repo.c
@@
-3565,7
+3565,10
@@
ostree_repo_load_file (OstreeRepo *self,
{
ret_input = (GInputStream*) g_file_read (loose_path, cancellable, error);
if (!ret_input)
- goto out;
+ {
+ g_prefix_error (error, "Error opening loose file object %s: ", ot_gfile_get_path_cached (loose_path));
+ goto out;
+ }
}
}
}